<?php
function smarty_function_assignarray($params, &$smarty)
{
	$arr = explode(",",$params['value']);
	$smarty->assign($params['varname'],$arr);
}	
?>